import Vue from 'vue'
new Vue({
  el: '#root',
  template: `
    <div :class="[isActive?'active':'noactive']">
    {{isActive?"active":"not active"}}<br>
    {{getJoin(arr)}}
    </div>
  `,
  data: {
    isActive: false,
    arr: [1, 2, 3]
  },
  methods: {
    getJoin (arr) {
      return arr.join(',')
    }
  }
})
